From: Pavel Janík Date: Thu, 13 Dec 2001 07:52:26 +0000 (+0000) Subject: (rmail-fontify-buffer-function): Do not use make-local-hook. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~59846 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=fb359a2b218ca235f4f6d206bf3edfbe7743e764;p=emacs.git (rmail-fontify-buffer-function): Do not use make-local-hook. --- diff --git a/lisp/mail/rmail.el b/lisp/mail/rmail.el index 46a005d74ac..8da949e59c3 100644 --- a/lisp/mail/rmail.el +++ b/lisp/mail/rmail.el @@ -3549,7 +3549,6 @@ This has an effect only if a summary buffer exists." (defun rmail-fontify-buffer-function () ;; This function's symbol is bound to font-lock-fontify-buffer-function. - (make-local-hook 'rmail-show-message-hook) (add-hook 'rmail-show-message-hook 'rmail-fontify-message nil t) ;; If we're already showing a message, fontify it now. (if rmail-current-message (rmail-fontify-message))